/*default*/
::selection {
    color: #FFF;
    background: $theme-color;
}
html {
    height: 100vh;
    body{
        // min-height: 100vh;
        min-height: 100%;
        display: flex;
        flex-direction:column;
        
        & > .middle{
            flex-grow:1;
        }

        ul,ol,dl{
            list-style: none;
            margin: 0;
            padding: 0;
        }

        a{
            color: inherit;
            line-height: inherit;
            display: inline-block;
            text-decoration: none;
            &:hover {
                color: $theme-color;
            }
        }

        a, button, img, input {
            transition: all 0.7s cubic-bezier(0.645, 0.045, 0.355, 1);
        }
    }
}

/*common*/
/*输入框圆角*/
.border-radius-input{
    border-radius: calc($input-height / 2);
}
.border-radius-input-sm{
    border-radius: calc($input-height-sm / 2);
}
.border-radius-input-lg{
    border-radius: calc($input-height-lg / 2);
}

/*圆角*/
.rounded-4{
	border-radius: $border-radius-xl;
}
.rounded-5{
	border-radius: $border-radius-xxl;
}

/*字体大小*/
.fs-12{
	font-size: $font-size-base * 0.75;
}
.fs-13{
	font-size: $font-size-base * 0.8125;
}
.fs-14{
	font-size: $font-size-base * 0.875;
}

/*容器宽度*/
@media (min-width: 1400px){
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 1140px;
    }
}

/*pagination*/
.dev-pagination > li {
    margin: 0 5px;
}
.dev-pagination .page-item .page-link {
    color: #212529;
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-radius: 50%!important;
}
.dev-pagination .page-item:hover .page-link{
    color: #212529;
    background-color: #e9ecef;
    border-color: #dee2e6;
}
.dev-pagination .page-item.active .page-link {
    color: #fff;
    background-color: #333;
    border-color: #333;
}

/*滑动按钮*/
.arrows-btn{
    display:flex;
    align-items:flex-end;
}
.arrows-btn [class*='arrows-button-'] {
    color: #424040;
    font-size: .8125rem;
    margin: 5px;
    padding: 6px 14px !important;
    background: #D6D6D6;
    display: inline-block;
    cursor: pointer;
    border-radius: 3px;
    transition: all 0.5s;
    border: none;
}
.arrows-btn [class*='arrows-button-']:hover {
    background: #424040;
    color: #FFF;
}

/*公告*/
.newsticker-item {
    line-height: 26px;
}

/*分类*/
.main-category-area{
    height: 530px;
    margin-bottom: 30px;
    overflow: hidden;
}
.main-category-area .bi {
    font-size: 26px;
    height: 36px;
    width: 36px;
    background-color: #ffc4a0;
    line-height: 36px;
    text-align: center;
    border-radius: 50000px;
}
@media (max-width: 767.98px) and (min-width: 275.98px) {
    .main-category-item{
        width: calc((100% - 30px) / 2);
    }
}
.main-category-thumb{
    width:100%;
    height: 100%;
}
/*轮播*/
.main-slider-area{
    margin-bottom: 30px;
    position: relative;
}
.main-slider-thumb{
    height:530px;
}
.flow-arrow {
    width: 35px;
    height: 35px;
    display: block;
    background-position: center;
    background-size: contain;
    opacity: 0.5;
    transition-duration: 0.2s;
}
.flow-arrow:hover {
    opacity: 1;
    transition-duration: 0.2s;
}
.flow-arrow-up {
    background-image: url(../img/arrow-up-circle.svg);
    margin-bottom: 15px;
}
.flow-arrow-down {
    background-image: url(../img/arrow-down-circle.svg);
}
.main-slide-arrow{
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
}
.main-right-thumb{
    height: 250px;
    margin-bottom: 30px;
}

/*文章*/
.blog-item{
    margin-bottom: 1.5rem;
}
.blog-thumb{
    height: 250px;
    max-width: 450px;
    margin-bottom: .5rem;
}

/*小部件r*/
@media (min-width: 992px){
    .widget-area {
        padding-left: 30px;
    }
}
.widget-area .widget-header h5 {
    border-bottom: 2px solid #eaecee;
    padding-bottom: 10px;
    position: relative;
}
.widget-area .widget-header h5::after {
    content: "";
    width: 55px;
    height: 2px;
    position: absolute;
    background: #000;
    bottom: -2px;
    left: 0;
}
/*话题矩阵*/
.widget-area .topic{
    width: 30%;
}
@media (min-width: 768px) and (max-width: 992px){
    .widget-area .topic{
        width: 22%;
    }
}
/*最新*/
@media (max-width: 991px) and (min-width: 768px){
    .latest-post-item {
        width: 50%;
        padding-right: 15px;
    }
    .latest-post-wrap {
        display: flex;
        flex-wrap: wrap;
    }
}
.latest-post-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}
.latest-post-thumb {
    flex-basis: 0 0 auto;
    min-width: 84px;
    margin-right: 20px;
}
/*标签*/
.tags-item{
    color: #8F9BAD;
    border: solid 1px #EBEBEB;
    border-radius: 25px;
    font-size: 14px;
    display: inline-block;
    padding: 3px 14px;
    margin: 5px 0;
}
.tags-item:hover, 
.tags-item:focus {
    border-color: #FE4F70;
    color: #FE4F70;
}
/*详情*/
.blog-meta a{
    display: inline;
}
.blog-meta .blog-meta-top{
    display: flex;
    align-items: center;

}
.blog-meta  .blog-meta-category {
    margin-right: 25px;
}
.blog-meta  .blog-meta-category .categorie {
    background-color: #fee86d;
    color: #222222;
    padding: 3px 15px 3px 14px;
    display: inline-flex;
    align-items: center;
    margin: auto;
    text-align: center;
    font-size: 13px;
    border-radius: 20px;
    font-weight: 400;
    text-transform: capitalize;
    transition: all 0.5s ease-in-out;
}
.blog-meta  .blog-meta-category .categorie:hover {
    background-color: #2b2b2b;
    color: #ffffff;
}
.blog-meta  .blog-meta-category .categorie i {
    color: #222222;
    margin-right: 5px;
    margin-top: 0px;
    font-size: 12px;
    font-weight: 400;
}
.blog-meta  .blog-meta-category .categorie:hover i {
    color: #ffffff;
}
.blog-meta .blog-meta-title{
    line-height: 1.4;
}
.blog-meta .blog-meta-short{
    color: #555;
}
.blog-meta .blog-meta-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #666;
}
.blog-meta .blog-meta-bottom-left span{
    position: relative;
    padding-right: 10px;
    margin-right: 10px;
}
.blog-meta  .blog-meta-bottom-left span:nth-child(2)::before {
    position: absolute;
    content: "";
    left: -12px;
    top: 50%;
    height: 4px;
    width: 4px;
    background: #adb5bd;
    border-radius: 50000px;
    transform: translateY(-50%);
}
.blog-meta .blog-meta-bottom-right a{
    margin-right: 8px;
}
.blog-meta-author img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    margin-right: 5px;
}
.blog-meta-author .blog-meta-author-by,
.blog-meta-author .blog-meta-author-at{
    color: #9b9ea1;
}

/*视频*/
.follow-item{
    margin-bottom: 25px;
}
.follow-thumb{
    padding-bottom: 70%;
}

/*返回顶部*/
.scroll-to-top {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  text-align: center;
  color: $white;
  background: fade-out($gray-800, .5);
  line-height: 46px;
  
}
.scroll-to-top:focus,
.scroll-to-top:hover {
  color: white;
}
.scroll-to-top:hover {
  background: $gray-800;
}
.scroll-to-top i {
  font-weight: 800;
}